Okay.
So in today's lesson we're going to be having a look at the terrain editor.
So we're going to look at what it is and how to use it for our games.
Now the terrain editor is a really useful tool and I think you'll really like it too, especially as
a starting point to making maps in Roblox studio.
So the terrain editor is actually is actually a tab we need to add into our game.
So go over to the view section over here and find the terrain Editor, which is just this one here.
So it's in the fifth column.
At the top.
So left click on that and it will appear somewhere on your screen.
I would recommend putting it over the explorer.
Um, just dropping it like that there.
But again, it's up to you where you put it.
Might just be easier putting it in the same place as Mevo.
Okay.
And we're going to be having a look at the create and edit sections of the terrain editor.
Okay.
So the first section is create.
And create allows you to generate terrain into your game okay.
This can be really good starting point for a map, because terrain is one a lot more realistic than
just parts and stuff like that.
And it also is much quicker as well.
You can just generate a bunch of terrain as large as you want, and there's your base map to work off
of.
So it's a really useful tool.
So if we zoom out here, we can see the size here of the terrain by default.
Okay.
It might be by default.
I've probably changed it and used it last time.
So you can change the position of the map and the size of your map okay.
Obviously if you wanted a very large map, you wouldn't want a very large, um, region of terrain.
But we're going to decrease this a bit and maybe go to a hundred.
200, I think might be good.
Um, 200, 200.
So obviously this is actually quite small.
Um, maybe we go to 500 just so it's not too small.
And let's change the height as well to be about 200 okay.
And let's also bring it up along the Y a bit.
So it's on top of the base plate okay.
Looks good.
So you obviously you can change the position and the size there using the x, y and z properties.
Go down to material Settings and we can you can choose and click what biomes you want to appear in your
map, which is really cool.
So you can choose from water, marsh, plains, hills, dunes, canyons, mountains, lava scape and
the Arctic.
Okay, um, I think I'm going to go.
I usually go for plains, hills and mountains because they all kind of fit together a bit.
But, um, what about instead we just go for plain hills and water?
Um, you can change the biome size.
So these are of sizes of your biome.
So the smaller the size, the more variation in biomes you're going to have.
If your biome is very large size, you might only see 1 or 2 biomes in your area.
And whether you want caves or not, I'm going to turn that off.
And then finally you have the seed.
Now the seed is a random number which is used to generate your terrain.
So basically, if you don't like the terrain that was generated, I didn't put in a different seed and
try again basically.
Okay.
And let's then click generate.
So it's generating our terrain for us.
And there we go.
This is what is generated for us.
Um that's a bit strange.
What's oh there we go to load it in.
Um, so yeah, this is the terrain generated for us.
Um.
It's okay.
I mean, I don't like this one too much, to be honest.
I think it's a bit.
There might not be much room to build on here.
Um, but it's all random.
So this is what's generated for us to work with.
But you can see how it's really cool, um, to generate something like this, because it saves you a
lot of time.
And it's like within an instant you now have a map to work off of.
I mean, if this is on a much larger scale, you could see how you could have like a little city here,
for example, or, um, you know, a, um, this is like an island with some treasure on it.
I don't know, but, um, it's a lot easier to work with and have a kind of starting point for your
game, which is really cool.
Okay.
Um, but let's say you don't like some parts of it.
You might want to edit some bits of your terrain, which is where the edit section in the terrain editor
comes in useful.
So go over to edit okay.
And here you can change what some of the terrain looks like okay.
So you've got a bunch of tools to use for this.
Start off with the add.
Now add basically allows you to add terrain.
Okay.
Um, you can do this either using a sphere brush, a cube brush or a cylinder brush okay.
And you can change the size of your brush.
Um, whether it's whether the pivot is at the bottom or the top.
Basically, you can see here what happens if you put at the top and what happens if you put at the bottom,
um, plane lock.
So if, if when you're generating terrain it locks you to a plane.
Um, I'm going to turn that off.
And then other ones, like does it ignore water.
Does it ignore pot?
I'm going to click ignore water on um and ignore parts on as well.
Cool.
So let's try this out.
So say I want to fill in.
Um, I don't know.
What bit could we fill in this bit here.
Okay.
Tiny bit of water right on the boundary.
We don't need it.
Let's just fill it in.
So we need to decrease the size of this a bit here.
Um, let's see what we can go about.
Three, perhaps.
And then we can just start left clicking.
To generate.
And you can see you can kind of generate it like that there.
Okay.
Let's just do it a bit slower.
So we can control it a bit better.
Obviously it's quite patchy and we can do a lot of a better job, um, with so many other tools.
But we've now filled that in, um, quite well.
Okay.
But let's say, I don't know, you've done too much and you want to get rid of some a part of it.
Okay.
You can then go and subtract it instead, which is exact same thing.
Exact same properties.
It's just taking the train away like that's there.
You can see we're just taking it away.
Okay.
And maybe we keep doing that a bit more and decrease the size a bit a bit.
We could get rid of the excess we have around here.
And on this side as well.
We have a large bit down there we don't really want.
Let's get rid of all of that.
Almost gone.
Maybe we increase the brush size a bit.
That's better.
Okay, cool.
And just just beat these bits of grass here to get rid of as well.
Okay, cool.
Um, we can also grow out regions.
So, um, same applies here, but we've also got some material settings to choose from as well.
So these are like these basically allow you to choose what material you want to grow from it.
So if we were to try um, I don't know.
Let's try pavement for example, and make some pavement.
Let's make it square and decrease the size right down to one.
And let's start.
Let's turn this turn a plane lock on to see what it might look like.
And let's make some pavement here.
This would be maybe like our city area just here, um, start making some pavements.
You can see it growing just like that there.
Okay.
So very useful tool to be making things with.
And you can see what a nice solid base here.
Um, for, for our city.
Okay.
We can make it go back a bit if we wanted to and all that kind of stuff.
So it's really, really good tool to use.
There we go.
Obviously it's quite high up.
So we could obviously always bring it down a bit.
But yeah we can also erode areas which is just the opposite of growing.
So say let's pick a region we don't really like too much.
Um, let's say um, yeah.
This little islands over here, we want to get rid of that okay.
We can also erode it.
And that's just um, decreasing the areas as well.
This is where sometimes the plane lock is not really that useful.
So we can get rid of that.
Okay.
And now we have our that island there gone.
Maybe we can just decrease it a bit.
Let's take the strength down a bit and we can be a bit more careful with it.
There we go.
Okay, cool.
Um, we can also smooth and flatten out regions.
So most of this is quite flat, to be honest.
But, um, say this bit here on a smooth, smoothing it out a bit.
We can do that just like this.
And it will smooth it out so it's more curved.
And maybe if you want to build on it on a region, it might be useful just to smoothing it out so that
there's less bumps and things like that and also flatten, which also the same kind of thing.
If you want to build on a region, you probably want to flatten it out first.
So say we want to build on this bit over here.
You can just go through and just flatten out any bits like this here, which is a very useful tool actually.
If you are wanting to design a map on here, just so it's all nice and flat for you to use, let's just
get rid of that bit of a.
It makes a lot easier to build on and work with.
And there you go.
It's now a really good bit to work on.
Paint allows you to paint regions of certain materials.
So again we could use this instead of the the grow tool.
And let's this square all the way down.
And now we're kind of painting this as concrete which is quite cool.
And you can also do the same even painted with cracked lava for example.
Quite cool.
Um, and then finally you've got sea level.
So sea level is basically, um, allows you to fill in regions with water.
Okay.
Let's decrease the size of this a lot.
You can also do this yourself using these here, but it might not always be that accurate, but we'll
see how this goes.
Let's see.
We can just about see what areas you do and don't want included in this.
Let's make that a bit tiny bit smaller.
Okay.
And let's go over here as well because we've got some areas that we like.
The island we got rid of.
Where is it here.
But now the sea level is a bit weird because we've gotten rid of a part of it so we can create it again.
Cool.
And then I think that's all sides done up just over here.
So let's bring that back.
Okay, there we go.
And we want the height of it as well.
So let's give it the same kind of height as last time.
Oh when it generated it maybe, maybe they're quite large gaps at waters.
Maybe if we wanted to we could increase it a bit as well.
Um, so but the water is a bit closer.
There we go.
And also the depth of it as well.
You don't want the water to be going.
Oh wrong one.
I'll need to redo that then.
You go.
We don't want the water going all the way down to here.
So let's bring it up and see where we want it to stop.
Um.
Oh, that's the wrong one again.
Bit difficult to work with this.
Um.
Knocked about there and then you can go.
It can go down to around about here and then it can stop.
Okay.
And then let's begin to evaporate or create.
So what about if you evaporate first it removes all of our water okay.
And if we click create it creates new water for us okay.
And this is quite cool because now um get rid of.
Want to hear.
Yeah.
So now you can see it's higher up.
So it's a bit easier to use.
Um, because it's all quite close now.
Okay.
Cool.
So that's just that's just some examples on how the terrain editor works.
Again, a really useful tool and it will save you a lot of time if you generate the map using this method
here.
Okay.
Um, just remember that you can make these whatever size you'd like.
So if you want a very large map, you can use the terrain editor, um, in that way as well.
And if you're not happy with certain parts of a terrain that you've generated, you can very easily
go ahead and edit it or flatten out regions so you can build on it and that kind of stuff there.
So hopefully this will be a really good starting point actually, for you to be making, um, making
your first game, if you want to create a map for it, maybe this would be a really good idea to use
for it.
Okay, so have a play around with that.
Um, try out different biomes, try out different tools, and join me in the next lesson.